// 
import { axios } from '@/utils/request'
export function classTimeList(params) {
    return axios({
        url: '/school/class-times',
        method: 'post',
        data: params
    })
}
//   
export function addClassTime(params) {
    return axios({
        url: '/school/class-times/create',
        method: 'post',
        data: params
    })
}

export function editClassTime(params, id) {
    return axios({
        url: '/school/class-times/' + id + '/update',
        method: 'post',
        data: params
    })
}


export function delClassTime(id) {
    return axios({
        url: '/school/class-times/' + id + '/delete',
        method: 'post',
    })
}


export function infoClassTime(id) {
    return axios({
        url: '/school/class-times' + id,
        method: 'post',
    })
}